package de.mhus.lib.mandala.tag;

import de.mhus.lib.mandala.Attribute;
import de.mhus.lib.mandala.Response;

public class BindWith extends TagBindData {

	private Attribute bindWith;

	public BindWith(Attribute bindWith) {
		this.bindWith = bindWith;
	}

	@Override
	public void doRender(Response out, String name, String type) {
		out.print("with: ");
		getBindWith().renderElementName(out);
	}

	public Attribute getBindWith() {
		return bindWith;
	}

	public void setBindWith(Attribute bindWith) {
		this.bindWith = bindWith;
	}

}
